/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package salarie;

/**
 *
 * @author Gatoper
 */
public class Scholar extends Rol{
    private String university;
    private double payRate;

    public Scholar(String university, double payRate) {
        this.university = university;
        this.payRate = payRate;
    }

    public String getUniversity() {
        return university;
    }

    public void setUniversity(String university) {
        this.university = university;
    }

    public double getPayRate() {
        return payRate;
    }

    public void setPayRate(double payRate) {
        this.payRate = payRate;
    }
        
    
    
        @Override
	public String toString(){
		return super.toString() + "\nUniversity: " + university;
	}
}
